#ifndef DOTS_SOUNDMANAGER_H
#define DOTS_SOUNDMANAGER_H

#include "cocos2d.h"
#include "SimpleAudioEngine.h"


using namespace cocos2d;
using namespace CocosDenshion;

class SoundManager : public CCObject {

private:
	static SoundManager* _instance;
	bool _isOn;

	SoundManager(void);

public:
	~SoundManager(void);
	static SoundManager* getInstance();
	bool isEnabled();
	void setEnabled(bool value);

	void playBackgroundSound(std::string fileName);
	void playEffectSound(std::string fileName);
};

#endif